/*load a csv file with stock datas into the database*/
#include "stockhistory.h"

stockhistory::stockhistory():DB()
{
    file=new QFile();
    csvFile=new QTextStream(file);
}

stockhistory::stockhistory(const QString &filename):DB()
{
    file=new QFile(filename);
    csvFile=new QTextStream(file);
}

void stockhistory::setFilename(const QString &filename)
{
    file->setFileName(filename);
}

bool stockhistory::extractValues()
{

    return true;
}
